<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<p style="clear: both; height: 2px;"></p>
<div>
	<div>
		<span style="cursor: pointer; float: right; margin-right: 10px;">
			<img src="<s:url value='/img/new_style.png'/>" onclick="display_templet();"/> 
		</span>
		<p style="clear: both; height: 5px;"></p>
		<table id="style_list_table"></table>
		<div id="style_list_pager"></div>
	</div>
	<p style="clear: both; height: 5px;"></p>
</div>
<div id="prompt_preview_div"></div>

<div id="new_style_design_panel">
	<div style="text-align: center;">
		<span style="cursor: pointer;" onclick="preview();"> <img
				src="<s:url value='/img/preview.png'/>"> </span>
	</div>
	<fieldset>
		<legend>
			模板设置
		</legend>
		<div style="display: none;">
			<input type="radio" name="t" value="1" class="input_align_5" checked
				onclick="display_templet(1);" />
			&nbsp;模板一&nbsp;&nbsp;
			<input type="radio" name="t" value="2" class="input_align_5"
				onclick="display_templet(2);" />
			&nbsp;模板二&nbsp;&nbsp;
			<input type="radio" name="t" value="3" class="input_align_5"
				onclick="display_templet(2);" />
			&nbsp;模板三&nbsp;&nbsp;
		</div>
		<p style="clear: both; height: 15px;"></p>
		<div id="templet_div_1">
			<%@ include file="./templet_style_1.jsp"%>
		</div>
	</fieldset>
	<div style="text-align: center;">
		<span style="cursor: pointer;" onclick="preview();"> <img
				src="<s:url value='/img/preview.png'/>"> </span>
	</div>
	<div style="text-align: right;">
		<input type="button" class="pbtn24" value="保存"
			onmouseover="this.style.backgroundPosition='left -50px'"
			onmouseout="this.style.backgroundPosition='left top'"
			style="background-position: left top; margin-left: 450px;"
			onclick="svstyle();">
		<input type="button" class="pbtn24" value="取消"
			onmouseover="this.style.backgroundPosition='left -50px'"
			onmouseout="this.style.backgroundPosition='left top'"
			style="background-position: left top;" onclick="cancel();">
	</div>
</div>
